Beschreibung
Das Werkzeug FHPlaneHole fügt ein Objekt eines Loches in einer Ebene (plane hole object) ein, das ein FastHenry-Objekt eines Loches in einer Ebene mit gleichförmiger Leitfähigkeit repräsentiert.
FastHenry Punkt FHEbenenLoch
FastHenry Rechteck FHEbenenLoch
FastHenry Kreis FHEbenenLoch
Anwendung
Das FHPlaneHole-Objekt kann auf der Position eines Draft Punkt-Objekts basieren, oder man kann die 3D-Position des FHEbenenLochs auswählen.
- Die Schaltfläche
EM FHEbenenLoch drücken, oder die Tastenkombination E dann H drücken.
- Einen Punkt in der 3D-Ansicht klicken, oder Koordinaten eingeben und die Schaltfläche
Punkt hinzufügen drücken.
Alternativ kann auch:
- Einen oder mehrere
Draft Punkt-Objekte auswählen
- Die Schaltfläche
EM FHEbeneLoch drücken, oder die Taste E dann H drücken. Es werden so viele FHEbeneLoch erstellt wie Draft Punkt-Objekte vorhanden sind, und zwar an denselben Koordinaten wie die Draft Punkte.
Anmerkungen
- FHPlaneHole objects represent FastHenry plane holes, and therefore follow the same rules of the uniform conductive plane holes. In particular, holes are created removing the internal plane nodes from the plane node array, before constructing the segment mesh. You can enable the view of the internal FHPlane nodes by turning the FHPlane DatenShowNodes property on. Three types of FHPlaneHoles exist, and can be selected by changing the DatenType FHPlaneNode property.
- Point hole: Removes the single FHPlane internal node closer to the position of the FHPlaneHole. The Point FHPlaneHole is shown as a single vertex (small dot), to help to visualize its position; see the FastHenry Point FHPlaneHole picture above.
- Rect hole: Removes all the FHPlane internal nodes that are within as well as close to the area defined by the base point of the FHPlaneNode and the DatenLength and DatenWidth properties. This means that not only the internal nodes strictly within the rectangular area defined by the FHPlaneHole are removed, but also the internal nodes outside the rectangle, but within half of the internal node - node distance. The Rect FHPlaneHole is shown as a 2D rectangle, to help to visualize its position and area; see the FastHenry Rect FHPlaneHole picture above.
- Circle hole: Removes all the FHPlane internal nodes that are within as well as close to the area defined by the base point of the FHPlaneNode and the DatenRadius property. This means that not only the internal nodes strictly within the circular area defined by the FHPlaneHole are removed, but also the internal nodes outside the circle, but within half of the internal node - node distance. The Circle FHPlaneHole is shown as a 2D circle, to help to visualize its position and area; see the FastHenry Circle FHPlaneHole picture above. Note that if the FHPlane discretization as specified by the Datenseg1 and Datenseg1 FHPlane properties is coarse, the shape of the circular hole can not resemble a circle. This is normal, and it is how FastHenry handles circular holes, not a defect of the ElectroMagnetic Workbench for FastHenry.
Optionen
- Um Koordinaten von Hand einzugeben, gibt man einfach die Zahlen ein und drückt dann Enter zwischen jeder X-, Y- und Z-Komponente. Man kann die Schaltfläche
Punkt hinzufügen drücken, wenn man die gewünschten Werte zum Einfügen des Punktes hat.
- Die Taste Esc oder die Taste Schließen drücken, um den aktuellen Befehl abzubrechen.
Eigenschaften
- Daten-EigenschaftX: die X-Koordinate des FHEbenenLochs
- Daten-EigenschaftY: die Y-Koordinate des FHEbenenLochs
- Daten-EigenschaftZ: die Z-Koordinate des FHEbenenLochs
- Daten-EigenschaftLength: Die Länge des rechteckigen Lochs (entlang x vom Basispunkt FHPlaneHole)
- Daten-EigenschaftWidth: Die Breite des rechteckigen Lochs (entlang der y-Achse vom Basispunkt des FHPlaneHole)
- Daten-EigenschaftRadius: Der Radius des kreisförmigen Lochs
- Daten-EigenschaftType: Die Art des FastHenry-FHEbenenLochs. Kann "Punkt", "Rechteck" oder "Kreis" sein.
Skripten
Siehe auch: Grundlagen der Skripterstellung in FreeCAD.
Das Objekt FHPlaneHole kann in Makros und von der Python-Konsole aus mit der folgenden Funktion verwendet werden:
hole = makeFHPlaneHole(baseobj=None, X=0.0, Y=0.0, Z=0.0, holetype=None, length=None, width=None, radius=None, name='FHPlaneHole')
- Creates a
FHPlaneHole object.
baseobj is the Draft Point object whose position can be used as base for the FHPlaneHole. It has priority over X, Y, Z. If no baseobj is given, X,Y,Z are used as coordinates.
X x coordinate of the hole, in absolute coordinate system.
Y y coordinate of the hole, in absolute coordinate system.
Z z coordinate of the hole, in absolute coordinate system.
holetype is the type of hole. Allowed values are: "Point", "Rect", "Circle"
length is the length of the hole (along the x dimension), in case of rectangular "Rect" hole.
width is the width of the hole (along the y dimension), in case of rectangular "Rect" hole.
radius is the radius of the hole, in case of circular "Circle" hole.
name is the name of the object
Die Position des FHEbeneLoch kann durch Ändern seiner Eigenschaft Placement oder durch individuelles Ändern der Eigenschaften X,Y,Z geändert werden. Durch Ändern von X,Y,Z wird die Knotenposition im relativen Koordinatensystem von Placement geändert.
Darüber hinaus stellt die Klasse _FHPlaneHole diese Methoden zur Verfügung. Auf die Klasse _FHPlaneHole kann über das FHPlaneHole-Objekt Proxy zugegriffen werden (z. B. fhhole.Proxy).
- Einen
FreeCAD.Vector erhalten, der die Lochkoordinaten im absoluten Referenzsystem enthält.
- Einen
FreeCAD.Vector erhalten, der die Lochkoordinaten relativ zur FHEbeneLoch-Platzierung enthält.
pos = setRelCoord(rel_coord, placement=None)
- Legt die Position des Knotens relativ zur Positionierung fest
rel_coord ist ein FreeCAD.Vector, der die Lochkoordinaten relativ zur FHEbeneLoch-Positionierung enthält
placement ist eine neue FHEbeneLoch-Positionierung. Wenn None, wird die Positionierung nicht geändert
pos = setAbsCoord(abs_coord, placement=None)
- Legt die absolute Knotenposition unter Berücksichtigung der Objektpositionierung fest und erzwingt gegebenenfalls eine neue Positionierung
abs_coord ist ein FreeCAD.Vector die die Knotenkoordinaten im absoluten Referenzsystem enthält
placement ist eine neue FHEbeneLoch-Positionierung. Wenn None, die Positionierung wird nicht geändert
Beispiel:
import FreeCAD, EM
fhhole = EM.makeFHPlaneHole(X=1.0,Y=1.0,Z=0.0,holetype="Rect",length=1.0,width=2.0)
Anwenderdokumentation
- Erste Schritte
- Installation: Herunterladen, Windows, Linux, Mac, Zusätzliche Komponenten, Docker, AppImage, Ubuntu Snap
- Grundlagen: Über FreeCAD, Graphische Oberfläche, Mausbedienung, Auswahlmethoden, Objektname, Voreinstellungseditor, Arbeitsbereiche, Dokumentstruktur, Objekteigenschaften, FreeCAD unterstützen, Spenden
- Hilfe: Anleitungen, Videoanleitungen
- Arbeitsbereiche: Std Base, Arch, Assembly, BIM, CAM, Draft, FEM, Inspection, Material, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework